window.addEventListener("load", function() {
  // send the new term notification to the extension
  var ImageChatExtensionConnection = chrome.extension.connect();
  ImageChatExtensionConnection.postMessage(
      {message: 'new_term', word: "test"});
}, false);
